package com.tsd.common.service;

import com.github.binarywang.wxpay.config.WxPayConfig;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.tsd.common.vo.WxPayParamsVo;
import com.tsd.core.vo.HttpResult;
import com.tsd.system.vo.WxPaySetting;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;

/**
 * @ClassName: BaseWxPayService
 * @Description: TODO
 * @Author: Hillpool
 * @Date: 2022/7/14 11:31
 * @Version: 1.0
 */
public interface CommonWxPayService {

    HttpResult<Object> procWxOrder(String bizSid, Date createDate, WxPayConfig config) throws WxPayException;

    HttpResult<Object> createOrder(WxPayParamsVo paramsVo, WxPaySetting setting, HttpServletRequest request) throws Exception;
}
